writing chemical formulas for transition metals